package com.loser.module.id;

import com.loser.module.LogicDel;
import io.github.loserya.module.idgen.anno.IdType;
import io.github.loserya.module.idgen.hardcode.GEN;
import org.springframework.data.annotation.Id;

public class IdBean extends LogicDel {

    @Id
    @IdType(GEN.CUSTOM)
    private Long id;

    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
